package com.shenmazong.factory;

/**
 * @program: server-java-demo
 * @description: Banana
 * @author: 亮子说编程
 * @create: 2020-10-15 16:16
 **/
public class Banana implements IFruit {

    public Banana() {
        System.out.println("I am banana.");
    }

    public void doEat() {
        System.out.println("Now, you can eat banana.");
    }
}
